#!/bin/sh
apk add --no-cache curl git zsh
git clone https://gitee.com/mirrors/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
sed -i 's/ZSH_THEME=\"robbyrussell\"/ZSH_THEME=\"my\"/' ~/.zshrc
sed -i 's/# DISABLE_AUTO_UPDATE/DISABLE_AUTO_UPDATE/' ~/.zshrc
sed -i 's/ash/zsh/' /etc/passwd
curl -o ~/.oh-my-zsh/themes/my.zsh-theme https://gitee.com/codesprite/gist/raw/master/my.zsh-theme